From 002e51fb70dc1b2a9c582e3fad85318f95e1a31e Mon Sep 17 00:00:00 2001 From: Aleksey Kladov Date: Sat, 30 Jan 2016 03:45:45 +0300 Subject: [PATCH] tests: remove unused variable --- tests/test_cargo_compile_plugins.rs | 3 --- 1 file changed, 3 deletions(-) diff --git a/tests/test_cargo_compile_plugins.rs b/tests/test_cargo_compile_plugins.rs index d6f2143a8..6bbbe8c03 100644 --- a/tests/test_cargo_compile_plugins.rs +++ b/tests/test_cargo_compile_plugins.rs @@ -111,9 +111,6 @@ test!(plugin_with_dynamic_native_dependency { lib.starts_with(env::consts::DLL_PREFIX) && lib.ends_with(env::consts::DLL_SUFFIX) }).unwrap(); - let libname = lib.file_name().unwrap().to_str().unwrap(); - let libname = &libname[env::consts::DLL_PREFIX.len().. - libname.len() - env::consts::DLL_SUFFIX.len()]; let foo = project("foo") .file("Cargo.toml", r#" -- 2.30.2